package com.ssr.master.modules.impl;

import com.ssr.master.modules.dao.SysPowerDao;
import com.ssr.master.modules.entity.SysPower;
import com.ssr.master.modules.service.SysPowerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ZhangPeng
 * @Describe //todo
 * @date
 * @updateBy
 * @other
 **/
@Service("SysPowerService")
public class SysPowerImpl implements SysPowerService {


    @Autowired
    private SysPowerDao sysPowerDao;

    /**
     * @param s
     * @return java.util.List<com.ssr.master.modules.entity.SysPower>
     * @Description //todo 查询本机构系统所有权限
     * @author ZhangPeng
     * @date 2020/6/21 16:05
     * @other
    **/
    @Override
    public List<SysPower> listAllPower(String s) {
        SysPower sysPower = new SysPower();
        sysPower.setUserId(s);
        return sysPowerDao.getUserPowerList(sysPower);
    }

    @Override
    public SysPower get(String id) {
        return null;
    }

    @Override
    public SysPower get(SysPower var1) {
        return null;
    }

    @Override
    public List<SysPower> findList(SysPower var1) {
        return null;
    }

    @Override
    public List<SysPower> findAllList(SysPower var1) {
        return null;
    }

    @Override
    public List<SysPower> findAllList() {
        return null;
    }

    @Override
    public int insert(SysPower var1) {
        return 0;
    }

    @Override
    public int update(SysPower var1) {
        return 0;
    }

    @Override
    public int delete(String var1) {
        return 0;
    }

    @Override
    public int delete(SysPower var1) {
        return 0;
    }

}
